]> dgit.raspbian.org Git - gnome-shell.git/commit
workspace: Scale down wallpaper by a fixed number of pixels
authorJonas Dreßler <verdre@v0yd.nl>
Mon, 22 Feb 2021 11:50:29 +0000 (12:50 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 3 Mar 2021 12:08:58 +0000 (12:08 +0000)
commit99378b6dae61bb54ad9aae121fce0ee2f7cd62f6
tree2b4ef536d9e5ee9db9844668b6edfd30d2d258f2
parentdf9129b2a0fed90cd1e2474000da161146194a19
workspace: Scale down wallpaper by a fixed number of pixels

To ensure the workspace thumbnails are vertically closer to the window
picker than to the search, scale down the wallpapers by a fixed number
of pixels. Using 24 px for this means we'll take of 12 px at the top and
12 px at the bottom of the wallpaper, that's a better strategy than
always scaling it by a fixed factor since it doesn't change with the
monitor size.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1702>
js/ui/workspace.js